package cn.jingdalei.org.domain;

import cn.jingdalei.basic.domain.BaseDomain;
import cn.jingdalei.user.domain.Logininfo;
import lombok.Data;

@Data
public class Employee extends BaseDomain {
    private String username;
    private String email;
    private String phone;
    // 盐值
    private String salt;
    // 盐值用来加密 密码
    private String password;
    // 重新输入密码
    private String comfirmPassword;

    private Integer age;
    private Integer state;

    private Long department_id;
    // 引用属性
    private Department department;

    private Long logininfo_id;
    // 引用属性
    private Logininfo logininfo;

    private Long shop_id;
    // 引用属性
    private Shop shop;
}
